[INFO] cloning repository https://github.com/Thomspoon/opengl_sdl2_demo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Thomspoon/opengl_sdl2_demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomspoon%2Fopengl_sdl2_demo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomspoon%2Fopengl_sdl2_demo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 22c4716b969d07296945fc8a277d0c479d75901b
[INFO] building Thomspoon/opengl_sdl2_demo against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomspoon%2Fopengl_sdl2_demo" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Thomspoon/opengl_sdl2_demo on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Thomspoon/opengl_sdl2_demo
[INFO] removed 0 missing examples
[INFO] finished tweaking git repo https://github.com/Thomspoon/opengl_sdl2_demo
[INFO] tweaked toml for git repo https://github.com/Thomspoon/opengl_sdl2_demo written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/Thomspoon/opengl_sdl2_demo already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded deflate v0.7.11
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1e12bcbcb56f840524acd73f23955bc56ea5c5d257edea4207e92c1473060ab8
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "1e12bcbcb56f840524acd73f23955bc56ea5c5d257edea4207e92c1473060ab8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1e12bcbcb56f840524acd73f23955bc56ea5c5d257edea4207e92c1473060ab8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1e12bcbcb56f840524acd73f23955bc56ea5c5d257edea4207e92c1473060ab8", kill_on_drop: false }`
[INFO] [stdout] 1e12bcbcb56f840524acd73f23955bc56ea5c5d257edea4207e92c1473060ab8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 74de2324224376dbb7aa099a524e6c08df674499dc154273b87a24920a9c4901
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "74de2324224376dbb7aa099a524e6c08df674499dc154273b87a24920a9c4901", kill_on_drop: false }`
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.04s
[INFO] running `Command { std: "docker" "inspect" "74de2324224376dbb7aa099a524e6c08df674499dc154273b87a24920a9c4901", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "74de2324224376dbb7aa099a524e6c08df674499dc154273b87a24920a9c4901", kill_on_drop: false }`
[INFO] [stdout] 74de2324224376dbb7aa099a524e6c08df674499dc154273b87a24920a9c4901
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] bd9adbd4a2c96aed342ad9f4a935d8078fced4e90870facd92ccc14aa597b2d3
[INFO] running `Command { std: "docker" "start" "-a" "bd9adbd4a2c96aed342ad9f4a935d8078fced4e90870facd92ccc14aa597b2d3", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.22
[INFO] [stderr]    Compiling khronos_api v1.0.0
[INFO] [stderr]    Compiling rayon-core v1.0.0
[INFO] [stderr]    Compiling lazy_static v0.2.8
[INFO] [stderr]    Compiling lzw v0.10.0
[INFO] [stderr]    Compiling inflate v0.2.0
[INFO] [stderr]    Compiling xml-rs v0.3.6
[INFO] [stderr]    Compiling deflate v0.7.11
[INFO] [stderr]    Compiling num-rational v0.1.36
[INFO] [stderr]    Compiling gif v0.9.1
[INFO] [stderr]    Compiling rand v0.3.15
[INFO] [stderr]    Compiling num_cpus v1.4.0
[INFO] [stderr]    Compiling sdl2-sys v0.30.0
[INFO] [stderr]    Compiling gl_generator v0.5.2
[INFO] [stderr]    Compiling sdl2 v0.30.0
[INFO] [stderr]    Compiling cgmath v0.14.1
[INFO] [stderr]    Compiling rayon v0.7.0
[INFO] [stderr]    Compiling png v0.7.0
[INFO] [stderr]    Compiling gl v0.6.1
[INFO] [stderr]    Compiling opengl_sdl2_demo v0.3.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling jpeg-decoder v0.1.12
[INFO] [stderr]    Compiling image v0.13.0
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/examples/coordinate_systems/../../shader/mod.rs:24:92
[INFO] [stdout]    |
[INFO] [stdout] 24 |         buf_reader.read_to_string(&mut vertex_shader).expect("Could not read vertex path");;
[INFO] [stdout]    |                                                                                            ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-84cdaba2da1892b3/out/bindings.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&str) -> *const __gl_imports::raw::c_void`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-84cdaba2da1892b3/out/bindings.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&str) -> *const __gl_imports::raw::c_void`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-84cdaba2da1892b3/out/bindings.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&str) -> *const __gl_imports::raw::c_void`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::GLProfile`
[INFO] [stdout]   --> src/examples/shaders/uniform.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use sdl2::video::GLProfile;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/examples/shaders/uniform.rs:162:25
[INFO] [stdout]     |
[INFO] [stdout] 162 |                         ((VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/examples/shaders/../../shader/mod.rs:24:92
[INFO] [stdout]    |
[INFO] [stdout] 24 |         buf_reader.read_to_string(&mut vertex_shader).expect("Could not read vertex path");;
[INFO] [stdout]    |                                                                                            ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-84cdaba2da1892b3/out/bindings.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&str) -> *const __gl_imports::raw::c_void`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::GLProfile`
[INFO] [stdout]   --> src/examples/hello_triangle/two_triangles.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use sdl2::video::GLProfile;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/examples/hello_triangle/two_triangles.rs:162:25
[INFO] [stdout]     |
[INFO] [stdout] 162 |                         ((VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::GLProfile`
[INFO] [stdout]   --> src/examples/coordinate_systems/model_view_matrix.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use sdl2::video::GLProfile;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/examples/coordinate_systems/model_view_matrix.rs:138:25
[INFO] [stdout]     |
[INFO] [stdout] 138 |                         ((VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/examples/coordinate_systems/model_view_matrix.rs:145:24
[INFO] [stdout]     |
[INFO] [stdout] 145 |                        ((INDICES_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/examples/camera/../../shader/mod.rs:24:92
[INFO] [stdout]    |
[INFO] [stdout] 24 |         buf_reader.read_to_string(&mut vertex_shader).expect("Could not read vertex path");;
[INFO] [stdout]    |                                                                                            ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `timer` in this scope
[INFO] [stdout]    --> src/examples/coordinate_systems/mvm_more_cubes.rs:223:26
[INFO] [stdout]     |
[INFO] [stdout] 223 |             let ticks = (timer.ticks() as f32) / 1000.0;
[INFO] [stdout]     |                          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-84cdaba2da1892b3/out/bindings.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&str) -> *const __gl_imports::raw::c_void`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-84cdaba2da1892b3/out/bindings.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&str) -> *const __gl_imports::raw::c_void`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::GLProfile`
[INFO] [stdout]   --> src/examples/shaders/triangle_exercise_3.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use sdl2::video::GLProfile;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/examples/shaders/triangle_exercise_3.rs:78:25
[INFO] [stdout]    |
[INFO] [stdout] 78 |                         ((VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::GLProfile`
[INFO] [stdout]   --> src/examples/camera/camera_view.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use sdl2::video::GLProfile;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/examples/camera/camera_view.rs:145:25
[INFO] [stdout]     |
[INFO] [stdout] 145 |                         ((VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/examples/textures/../../shader/mod.rs:24:92
[INFO] [stdout]    |
[INFO] [stdout] 24 |         buf_reader.read_to_string(&mut vertex_shader).expect("Could not read vertex path");;
[INFO] [stdout]    |                                                                                            ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-84cdaba2da1892b3/out/bindings.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&str) -> *const __gl_imports::raw::c_void`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::GLProfile`
[INFO] [stdout]   --> src/examples/hello_triangle/rectangle.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use sdl2::video::GLProfile;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/examples/hello_triangle/rectangle.rs:168:25
[INFO] [stdout]     |
[INFO] [stdout] 168 |                         ((VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/examples/hello_triangle/rectangle.rs:175:24
[INFO] [stdout]     |
[INFO] [stdout] 175 |                        ((INDICES_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/examples/camera/../../shader/mod.rs:24:92
[INFO] [stdout]    |
[INFO] [stdout] 24 |         buf_reader.read_to_string(&mut vertex_shader).expect("Could not read vertex path");;
[INFO] [stdout]    |                                                                                            ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-84cdaba2da1892b3/out/bindings.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&str) -> *const __gl_imports::raw::c_void`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-84cdaba2da1892b3/out/bindings.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&str) -> *const __gl_imports::raw::c_void`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::GLProfile`
[INFO] [stdout]   --> src/examples/textures/rectangle_texture.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use sdl2::video::GLProfile;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/examples/textures/rectangle_texture.rs:96:25
[INFO] [stdout]    |
[INFO] [stdout] 96 |                         ((VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/examples/textures/rectangle_texture.rs:103:24
[INFO] [stdout]     |
[INFO] [stdout] 103 |                        ((INDICES_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/examples/shaders/../../shader/mod.rs:24:92
[INFO] [stdout]    |
[INFO] [stdout] 24 |         buf_reader.read_to_string(&mut vertex_shader).expect("Could not read vertex path");;
[INFO] [stdout]    |                                                                                            ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-84cdaba2da1892b3/out/bindings.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&str) -> *const __gl_imports::raw::c_void`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::GLProfile`
[INFO] [stdout]   --> src/examples/camera/camera_class.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use sdl2::video::GLProfile;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/examples/camera/camera_class.rs:153:25
[INFO] [stdout]     |
[INFO] [stdout] 153 |                         ((VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/examples/transformations/../../shader/mod.rs:24:92
[INFO] [stdout]    |
[INFO] [stdout] 24 |         buf_reader.read_to_string(&mut vertex_shader).expect("Could not read vertex path");;
[INFO] [stdout]    |                                                                                            ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-84cdaba2da1892b3/out/bindings.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&str) -> *const __gl_imports::raw::c_void`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::GLProfile`
[INFO] [stdout]   --> src/examples/hello_triangle/two_triangles_with_shaders.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use sdl2::video::GLProfile;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/examples/hello_triangle/two_triangles_with_shaders.rs:190:25
[INFO] [stdout]     |
[INFO] [stdout] 190 |                         ((VERTEX_DATA_1.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/examples/hello_triangle/two_triangles_with_shaders.rs:204:25
[INFO] [stdout]     |
[INFO] [stdout] 204 |                         ((VERTEX_DATA_2.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::GLProfile`
[INFO] [stdout]   --> src/examples/shaders/triangle_vertex_colors.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use sdl2::video::GLProfile;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/examples/shaders/triangle_vertex_colors.rs:77:25
[INFO] [stdout]    |
[INFO] [stdout] 77 |                         ((VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-84cdaba2da1892b3/out/bindings.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&str) -> *const __gl_imports::raw::c_void`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::GLProfile`
[INFO] [stdout]   --> src/examples/transformations/transformation.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use sdl2::video::GLProfile;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/examples/transformations/transformation.rs:101:25
[INFO] [stdout]     |
[INFO] [stdout] 101 |                         ((VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/examples/transformations/transformation.rs:108:24
[INFO] [stdout]     |
[INFO] [stdout] 108 |                        ((INDICES_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::GLProfile`
[INFO] [stdout]   --> src/examples/hello_triangle/two_triangles_and_vbo.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use sdl2::video::GLProfile;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/examples/hello_triangle/two_triangles_and_vbo.rs:164:25
[INFO] [stdout]     |
[INFO] [stdout] 164 |                         ((VERTEX_DATA_1.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/examples/hello_triangle/two_triangles_and_vbo.rs:178:25
[INFO] [stdout]     |
[INFO] [stdout] 178 |                         ((VERTEX_DATA_2.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/examples/coordinate_systems/../../shader/mod.rs:24:92
[INFO] [stdout]    |
[INFO] [stdout] 24 |         buf_reader.read_to_string(&mut vertex_shader).expect("Could not read vertex path");;
[INFO] [stdout]    |                                                                                            ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-84cdaba2da1892b3/out/bindings.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&str) -> *const __gl_imports::raw::c_void`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::GLProfile`
[INFO] [stdout]   --> src/examples/coordinate_systems/mvm_more_cubes.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use sdl2::video::GLProfile;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/examples/coordinate_systems/mvm_more_cubes.rs:143:25
[INFO] [stdout]     |
[INFO] [stdout] 143 |                         ((VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-84cdaba2da1892b3/out/bindings.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                       ----^^^^^^
[INFO] [stdout]   |                       |
[INFO] [stdout]   |                       help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-84cdaba2da1892b3/out/bindings.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                       ----^^^^^^
[INFO] [stdout]   |                       |
[INFO] [stdout]   |                       help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-84cdaba2da1892b3/out/bindings.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                       ----^^^^^^
[INFO] [stdout]   |                       |
[INFO] [stdout]   |                       help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `program`
[INFO] [stdout]   --> src/examples/shaders/../../shader/mod.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn program(self) -> GLuint {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-84cdaba2da1892b3/out/bindings.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                       ----^^^^^^
[INFO] [stdout]   |                       |
[INFO] [stdout]   |                       help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-84cdaba2da1892b3/out/bindings.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                       ----^^^^^^
[INFO] [stdout]   |                       |
[INFO] [stdout]   |                       help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `camera_up`
[INFO] [stdout]    --> src/examples/camera/camera_view.rs:203:9
[INFO] [stdout]     |
[INFO] [stdout] 203 |     let camera_up = camera_dir.cross(camera_right);
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera_up`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-84cdaba2da1892b3/out/bindings.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                       ----^^^^^^
[INFO] [stdout]   |                       |
[INFO] [stdout]   |                       help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-84cdaba2da1892b3/out/bindings.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                       ----^^^^^^
[INFO] [stdout]   |                       |
[INFO] [stdout]   |                       help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `delta_tick` is never read
[INFO] [stdout]    --> src/examples/camera/camera_class.rs:207:13
[INFO] [stdout]     |
[INFO] [stdout] 207 |     let mut delta_tick: f32 = 0.0;
[INFO] [stdout]     |             ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `opengl_sdl2_demo`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-84cdaba2da1892b3/out/bindings.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                       ----^^^^^^
[INFO] [stdout]   |                       |
[INFO] [stdout]   |                       help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-84cdaba2da1892b3/out/bindings.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                       ----^^^^^^
[INFO] [stdout]   |                       |
[INFO] [stdout]   |                       help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-84cdaba2da1892b3/out/bindings.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                       ----^^^^^^
[INFO] [stdout]   |                       |
[INFO] [stdout]   |                       help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-84cdaba2da1892b3/out/bindings.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                       ----^^^^^^
[INFO] [stdout]   |                       |
[INFO] [stdout]   |                       help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-84cdaba2da1892b3/out/bindings.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                       ----^^^^^^
[INFO] [stdout]   |                       |
[INFO] [stdout]   |                       help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/camera/camera_view.rs:213:105
[INFO] [stdout]     |
[INFO] [stdout] 213 |             gl::Uniform1i(gl::GetUniformLocation(shader.program(), CString::new("ourTexture1").unwrap().as_ptr()), 0);
[INFO] [stdout]     |                                                                    ------------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                    |
[INFO] [stdout]     |                                                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/camera/camera_view.rs:217:105
[INFO] [stdout]     |
[INFO] [stdout] 217 |             gl::Uniform1i(gl::GetUniformLocation(shader.program(), CString::new("ourTexture2").unwrap().as_ptr()), 1);
[INFO] [stdout]     |                                                                    ------------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                    |
[INFO] [stdout]     |                                                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/camera/camera_view.rs:231:101
[INFO] [stdout]     |
[INFO] [stdout] 231 |             let model_loc = gl::GetUniformLocation(shader.program(), CString::new("model").unwrap().as_ptr());
[INFO] [stdout]     |                                                                      ------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                      |
[INFO] [stdout]     |                                                                      this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/camera/camera_view.rs:234:99
[INFO] [stdout]     |
[INFO] [stdout] 234 |             let view_loc = gl::GetUniformLocation(shader.program(), CString::new("view").unwrap().as_ptr());
[INFO] [stdout]     |                                                                     ----------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                     |
[INFO] [stdout]     |                                                                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/camera/camera_view.rs:237:111
[INFO] [stdout]     |
[INFO] [stdout] 237 |             let projection_loc = gl::GetUniformLocation(shader.program(), CString::new("projection").unwrap().as_ptr());
[INFO] [stdout]     |                                                                           ----------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                           |
[INFO] [stdout]     |                                                                           this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/transformations/transformation.rs:184:105
[INFO] [stdout]     |
[INFO] [stdout] 184 |             gl::Uniform1i(gl::GetUniformLocation(shader.program(), CString::new("ourTexture1").unwrap().as_ptr()), 0);
[INFO] [stdout]     |                                                                    ------------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                    |
[INFO] [stdout]     |                                                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/transformations/transformation.rs:188:105
[INFO] [stdout]     |
[INFO] [stdout] 188 |             gl::Uniform1i(gl::GetUniformLocation(shader.program(), CString::new("ourTexture2").unwrap().as_ptr()), 1);
[INFO] [stdout]     |                                                                    ------------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                    |
[INFO] [stdout]     |                                                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/transformations/transformation.rs:193:109
[INFO] [stdout]     |
[INFO] [stdout] 193 |             let transform_loc = gl::GetUniformLocation(shader.program(), CString::new("transform").unwrap().as_ptr());
[INFO] [stdout]     |                                                                          ---------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                          |
[INFO] [stdout]     |                                                                          this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `program`
[INFO] [stdout]   --> src/examples/shaders/../../shader/mod.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn program(self) -> GLuint {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `DEFAULT_YAW`
[INFO] [stdout]  --> src/examples/camera/../../camera/mod.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | const DEFAULT_YAW: f32 = -90.0;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `DEFAULT_PITCH`
[INFO] [stdout]  --> src/examples/camera/../../camera/mod.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | const DEFAULT_PITCH: f32 = 0.0;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `ZOOM_LOW`
[INFO] [stdout]   --> src/examples/camera/../../camera/mod.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | const ZOOM_LOW: f32 = 1.0;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `ZOOM_HIGH`
[INFO] [stdout]   --> src/examples/camera/../../camera/mod.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | const ZOOM_HIGH: f32 = 45.0;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `move_zoom`
[INFO] [stdout]   --> src/examples/camera/../../camera/mod.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 87 |     pub fn move_zoom(mut self, zoom: f32) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/camera/camera_class.rs:218:105
[INFO] [stdout]     |
[INFO] [stdout] 218 |             gl::Uniform1i(gl::GetUniformLocation(shader.program(), CString::new("ourTexture1").unwrap().as_ptr()), 0);
[INFO] [stdout]     |                                                                    ------------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                    |
[INFO] [stdout]     |                                                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/camera/camera_class.rs:222:105
[INFO] [stdout]     |
[INFO] [stdout] 222 |             gl::Uniform1i(gl::GetUniformLocation(shader.program(), CString::new("ourTexture2").unwrap().as_ptr()), 1);
[INFO] [stdout]     |                                                                    ------------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                    |
[INFO] [stdout]     |                                                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/camera/camera_class.rs:234:101
[INFO] [stdout]     |
[INFO] [stdout] 234 |             let model_loc = gl::GetUniformLocation(shader.program(), CString::new("model").unwrap().as_ptr());
[INFO] [stdout]     |                                                                      ------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                      |
[INFO] [stdout]     |                                                                      this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/camera/camera_class.rs:237:99
[INFO] [stdout]     |
[INFO] [stdout] 237 |             let view_loc = gl::GetUniformLocation(shader.program(), CString::new("view").unwrap().as_ptr());
[INFO] [stdout]     |                                                                     ----------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                     |
[INFO] [stdout]     |                                                                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/camera/camera_class.rs:240:111
[INFO] [stdout]     |
[INFO] [stdout] 240 |             let projection_loc = gl::GetUniformLocation(shader.program(), CString::new("projection").unwrap().as_ptr());
[INFO] [stdout]     |                                                                           ----------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                           |
[INFO] [stdout]     |                                                                           this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/coordinate_systems/model_view_matrix.rs:217:105
[INFO] [stdout]     |
[INFO] [stdout] 217 |             gl::Uniform1i(gl::GetUniformLocation(shader.program(), CString::new("ourTexture1").unwrap().as_ptr()), 0);
[INFO] [stdout]     |                                                                    ------------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                    |
[INFO] [stdout]     |                                                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/coordinate_systems/model_view_matrix.rs:221:105
[INFO] [stdout]     |
[INFO] [stdout] 221 |             gl::Uniform1i(gl::GetUniformLocation(shader.program(), CString::new("ourTexture2").unwrap().as_ptr()), 1);
[INFO] [stdout]     |                                                                    ------------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                    |
[INFO] [stdout]     |                                                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/coordinate_systems/model_view_matrix.rs:231:101
[INFO] [stdout]     |
[INFO] [stdout] 231 |             let model_loc = gl::GetUniformLocation(shader.program(), CString::new("model").unwrap().as_ptr());
[INFO] [stdout]     |                                                                      ------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                      |
[INFO] [stdout]     |                                                                      this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/coordinate_systems/model_view_matrix.rs:234:99
[INFO] [stdout]     |
[INFO] [stdout] 234 |             let view_loc = gl::GetUniformLocation(shader.program(), CString::new("view").unwrap().as_ptr());
[INFO] [stdout]     |                                                                     ----------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                     |
[INFO] [stdout]     |                                                                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/coordinate_systems/model_view_matrix.rs:237:111
[INFO] [stdout]     |
[INFO] [stdout] 237 |             let projection_loc = gl::GetUniformLocation(shader.program(), CString::new("projection").unwrap().as_ptr());
[INFO] [stdout]     |                                                                           ----------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                           |
[INFO] [stdout]     |                                                                           this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "bd9adbd4a2c96aed342ad9f4a935d8078fced4e90870facd92ccc14aa597b2d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bd9adbd4a2c96aed342ad9f4a935d8078fced4e90870facd92ccc14aa597b2d3", kill_on_drop: false }`
[INFO] [stdout] bd9adbd4a2c96aed342ad9f4a935d8078fced4e90870facd92ccc14aa597b2d3
